package my.design.command;

/**
 * @author zp
 * @version 1.0
 * @description: 电灯命名执行者
 * @date 2022/10/20 18:56
 */
public class ComputerReceiver implements IElectric {
    @Override
    public void on() {
        System.out.println( "电脑打开了" );
    }

    @Override
    public void off() {
        System.out.println( "电脑关闭了" );
    }
}
